[INFO] cloning repository https://github.com/huangqian/rust-in-action
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huangqian/rust-in-action" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangqian%2Frust-in-action", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangqian%2Frust-in-action'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f36881cede964f6008c95f60cb1004db4fba9cc2
[INFO] checking huangqian/rust-in-action against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangqian%2Frust-in-action" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/huangqian/rust-in-action on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/huangqian/rust-in-action
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/huangqian/rust-in-action
[INFO] tweaked toml for git repo https://github.com/huangqian/rust-in-action written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/huangqian/rust-in-action already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ascii v0.7.1
[INFO] [stderr]   Downloaded combine v3.5.2
[INFO] [stderr]   Downloaded mysql v15.1.0
[INFO] [stderr]   Downloaded clang-sys v0.28.1
[INFO] [stderr]   Downloaded bindgen v0.49.4
[INFO] [stderr]   Downloaded named_pipe v0.3.0
[INFO] [stderr]   Downloaded serde_json v1.0.32
[INFO] [stderr]   Downloaded nix v0.12.0
[INFO] [stderr]   Downloaded redis v0.10.0
[INFO] [stderr]   Downloaded flate2 v1.0.4
[INFO] [stderr]   Downloaded bit-vec v0.5.0
[INFO] [stderr]   Downloaded num-bigint v0.2.1
[INFO] [stderr]   Downloaded atoi v0.3.1
[INFO] [stderr]   Downloaded memchr v2.1.0
[INFO] [stderr]   Downloaded mysql_common v0.15.0
[INFO] [stderr]   Downloaded croaring v0.4.1
[INFO] [stderr]   Downloaded croaring-sys v0.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b0ea11b66bc37c11b7ec8bcafaff7c4c245108ffca84534e0fb989926d0796fe
[INFO] running `Command { std: "docker" "start" "-a" "b0ea11b66bc37c11b7ec8bcafaff7c4c245108ffca84534e0fb989926d0796fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0ea11b66bc37c11b7ec8bcafaff7c4c245108ffca84534e0fb989926d0796fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0ea11b66bc37c11b7ec8bcafaff7c4c245108ffca84534e0fb989926d0796fe", kill_on_drop: false }`
[INFO] [stdout] b0ea11b66bc37c11b7ec8bcafaff7c4c245108ffca84534e0fb989926d0796fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af3606e82a6f62eae2e2719303570568f92f07ea7c9a4c8158a2f8fe30d64ac6
[INFO] running `Command { std: "docker" "start" "-a" "af3606e82a6f62eae2e2719303570568f92f07ea7c9a4c8158a2f8fe30d64ac6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]    Compiling cfg-if v0.1.5
[INFO] [stderr]     Checking byteorder v1.2.6
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling regex v1.0.6
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling ucd-util v0.1.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.2
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]     Checking futures v0.1.25
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling bindgen v0.49.4
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling termcolor v1.0.5
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]    Compiling serde v1.0.80
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling num-bigint v0.2.1
[INFO] [stderr]     Checking unicode-normalization v0.1.7
[INFO] [stderr]     Checking slab v0.4.1
[INFO] [stderr]     Checking lazycell v1.2.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking opaque-debug v0.2.2
[INFO] [stderr]     Checking sha1 v0.6.0
[INFO] [stderr]     Checking crossbeam-utils v0.5.0
[INFO] [stderr]    Compiling nix v0.12.0
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]    Compiling mysql v15.1.0
[INFO] [stderr]    Compiling redis v0.10.0
[INFO] [stderr]     Checking bit-vec v0.5.0
[INFO] [stderr]     Checking ascii v0.7.1
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking uuid v0.7.2
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking log v0.4.5
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling regex-syntax v0.6.3
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]     Checking owning_ref v0.3.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling memchr v2.1.0
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling clang-sys v0.28.1
[INFO] [stderr]     Checking smallvec v0.6.5
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling miniz-sys v0.1.11
[INFO] [stderr]     Checking tokio-executor v0.1.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking lock_api v0.1.4
[INFO] [stderr]     Checking block-padding v0.1.3
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]     Checking rand v0.5.5
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking time v0.1.40
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]     Checking bytes v0.4.10
[INFO] [stderr]    Compiling aho-corasick v0.6.9
[INFO] [stderr]     Checking generic-array v0.12.0
[INFO] [stderr]     Checking mio v0.6.16
[INFO] [stderr]     Checking atoi v0.3.1
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking combine v3.5.2
[INFO] [stderr]     Checking digest v0.8.0
[INFO] [stderr]     Checking block-buffer v0.7.0
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking tokio-io v0.1.10
[INFO] [stderr]     Checking sha2 v0.8.0
[INFO] [stderr]     Checking twox-hash v1.1.1
[INFO] [stderr]    Compiling cexpr v0.3.6
[INFO] [stderr]     Checking flate2 v1.0.4
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking parking_lot v0.6.4
[INFO] [stderr]    Compiling backtrace v0.3.12
[INFO] [stderr]     Checking tokio-reactor v0.1.6
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling which v2.0.1
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]     Checking tokio-tcp v0.1.2
[INFO] [stderr]     Checking serde_json v1.0.32
[INFO] [stderr]     Checking mysql_common v0.15.0
[INFO] [stderr]    Compiling croaring-sys v0.4.1
[INFO] [stderr]     Checking croaring v0.4.1
[INFO] [stderr]     Checking rust-in-action v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `one`
[INFO] [stdout]   --> examples/match.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let one = increment(None);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_one`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/mysql.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OptsBuilder`, `Opts`, `Pool`, `Value`, `from_value`
[INFO] [stdout]  --> examples/mysql.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mysql::{from_value, Opts, OptsBuilder, Pool, Value};
[INFO] [stdout]   |             ^^^^^^^^^^  ^^^^  ^^^^^^^^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `mysql`
[INFO] [stdout]   --> examples/mysql.rs:88:2
[INFO] [stdout]    |
[INFO] [stdout] 88 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/mysql.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-in-action` due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variant `Alabama` is never constructed
[INFO] [stdout]   --> examples/match.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum UsState {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 23 |     Alabama,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Nickel` and `Dime` are never constructed
[INFO] [stdout]   --> examples/match.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum Coin {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 28 |     Penny,
[INFO] [stdout] 29 |     Nickel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 30 |     Dime,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> examples/function-pointer.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let a  = 2;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> examples/function-pointer.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let b  = 3;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddrKind` is never used
[INFO] [stdout]  --> examples/enums.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum IpAddrKind{
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Structure` in this scope
[INFO] [stdout]  --> examples/structs.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 |     println!("{:?}", Structure(3));
[INFO] [stdout]   |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `LinkedList`
[INFO] [stdout]  --> examples/collection/list.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     LinkedList
[INFO] [stdout]   |     ^^^^^^^^^^ help: use struct literal syntax instead: `LinkedList { head: val, tail: val, len: val, marker: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-in-action` due to 2 previous errors
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-in-action` due to 2 previous errors
[INFO] [stderr] error: could not compile `rust-in-action` due to 2 previous errors
[INFO] [stdout] error[E0601]: `main` function not found in crate `borrow`
[INFO] [stdout]   --> examples/borrow.rs:42:2
[INFO] [stdout]    |
[INFO] [stdout] 42 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/borrow.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "af3606e82a6f62eae2e2719303570568f92f07ea7c9a4c8158a2f8fe30d64ac6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af3606e82a6f62eae2e2719303570568f92f07ea7c9a4c8158a2f8fe30d64ac6", kill_on_drop: false }`
[INFO] [stdout] af3606e82a6f62eae2e2719303570568f92f07ea7c9a4c8158a2f8fe30d64ac6
